Adding Disqus to distill blogs

tutorial

Notes on adding comments to distill pages.

Zoë Turner
2021-01-31

Note: This post was originally written by Zoë Turner and copied here on December 21, 2021 - see the original post here for a potentially updated version.

Photo of frost on wood

Figure 1: Photo of frost on wood

Inspiration

When searching for “distill blog doesn’t show xaringan slides” I stumbled across this blog by Shamindra Shrotriya where I found that it’s possible to add comments to the distill pages.

Issues with images

I’ve never used Disqus before but I followed Shamindra’s blog instructions and it worked. The only thing to note is that images must be in PNG format. Thankfully I’d only included a few so I could convert them by opening them in Microsoft Paint and saving them as .PNG.

I saved as .PNG rather than .png as @tomjemmett had had to set my files to this in the NHS-R Community GitHub to get the xaringan slides there to render. I thought it best to follow this as good practice.